<?php
/**
 * Class OrderReceive
 * Desc  订单接单Model
 * Create on 2021/8/25 16:13
 * Create by wangyafang
 */

namespace app\api\model\xyb;


use addons\xyb\XypHelper;

class OrderReceive extends Base
{
    protected $name = 'xyb_order_receive';

    public function getEvaluateAttr($value, $data)
    {
        return XypHelper::formatJsonStringToArray($value);
    }

    public function setEvaluateAttr($value, $data)
    {
        var_dump($value);
        return XypHelper::formatArrayToString($value);
    }
}